package cn.hr.dao.mapper;

import cn.hr.base.BaseMapper;
import cn.hr.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.util.Map;

/**
 * 用户DAO接口
 *
 * @author MO
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser getByCode(@Param("code") String code) throws SQLException;
}
